<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Bootstrap 3, from LayoutIt!</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">

	<!--link rel="stylesheet/less" href="less/bootstrap.less" type="text/css" /-->
	<!--link rel="stylesheet/less" href="less/responsive.less" type="text/css" /-->
	<!--script src="js/less-1.3.3.min.js"></script-->
	<!--append ‘#!watch’ to the browser URL, then refresh the page. -->
	
	<link href="css/bootstrap.min.css" rel="stylesheet">
	<link href="css/style.css" rel="stylesheet">

  <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
  <![endif]-->

  <!-- Fav and touch icons -->
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
  <link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
  <link rel="shortcut icon" href="img/favicon.png">
  
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
</head>

<body>
<div class="container">
	<div class="row clearfix">
	<jsp:include page="nav.jsp"></jsp:include>
		<div class="col-md-12 column">
			<h3>
				交易信息管理
			</h3>
		</div>
	</div>
	<div class="row clearfix">
		<div class="col-md-12 column">
			<nav class="navbar navbar-default" role="navigation">
				
				
				
					<form class="navbar-form navbar-left" role="search">
                    
					<div class=" col-md-4 col-md-3">
                        	<span class="input-group-addon">
                            <input type="checkbox" name="type">借
                          </span>
                          <span class="input-group-addon">
                            <input type="checkbox" name="type">换
                          </span>
                          <span class="input-group-addon">
                            <input type="checkbox" name="type">卖
                          </span>
                        </div> 
                        <div class="form-group">
                        	
                            <select class="form-control">
                            <option>---请选择类别---</option>
                            <c:forEach items="${styles}" var="style">
                            <option value="${style.styleId}">${style.styleName}</option>
                            
                            </c:forEach>
                            </select>
							
						</div>
						<div class="form-group">
                        	
                           
							<input type="text" class="form-control">
						</div> 
                        <button type="submit" class="btn btn-default">搜索</button>
                        <div class="form-group navbar-right">
                        <button type="submit" class="btn btn-default">生成柱状图</button>
                        </div>
					</form>
					
				</div>
				
			</nav>
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th>
							序号
						</th>
						<th>
							标题
						</th>
						<th>
							物品
						</th>
						<th>
							时间
						</th>
						<th>
							交易类型
						</th>
                        <th>
							操作
						</th>
					</tr>
				</thead>
				<tbody>
				<c:forEach items="${list.pageItems}" var="message">
					<tr>
						<td>
							${message.messageId }
						</td>
						<td>
							${message.title }
						</td>
						<td>
							${message.goods.goodsName}
						</td>
						<td>
							${message.goods.publicTime}
						</td>
						<td>
							${message.goods.changeType}
						</td>
                        <td>
							<a href="#">查看</a>|<a href="#">不显示</a>
						</td>
					</tr>
				</c:forEach>
					
				</tbody>
			</table>
			<ul class="pagination">
				<li>
					<a href="#">Prev</a>
				</li>
				<li>
					<a href="#">1</a>
				</li>
				<li>
					<a href="#">2</a>
				</li>
				<li>
					<a href="#">3</a>
				</li>
				<li>
					<a href="#">4</a>
				</li>
				<li>
					<a href="#">5</a>
				</li>
				<li>
					<a href="#">Next</a>
				</li>
			</ul>
		</div>
       <jsp:include page="foot.jsp"></jsp:include>
	</div>

</body>
</html>
